package com.ygxsk.carhome.response;

import android.os.Parcel;
import android.os.Parcelable;

/*
 * @Author:itchenqi175@163.com
 * @Time:2023-11-09  11:29
 * @Description:客户档案管理之中的档案详情  添加多个车辆的逻辑
 */
public class CarInfoVehicleBean implements Parcelable {


    //携带档案的id,因为单独的修改车辆需要用到 2023-11-10 09:44:33
    private String informationId;

    //对车辆添加一个编号
    private String number;

    //该车辆的id
    private String vehicleId;

    //创建时间
    private String createTime;

    //品牌ID
    private String carBranch;

    //品牌名称
    private String carBranchName;

    //车辆车系 车系ID
//    private String carSeriesId;
    //车系的id,2023年11月13日09:44:10变动
    private String carSeries;
    //车系名称
    private String carSeriesName;

    //车型
    private String carModel;

    //车架号
    private String vin;

    //发动机号
    private String engineNum;

    //车牌号
    private String licenseNumber;


    public String getInformationId() {
        return informationId;
    }

    public void setInformationId(String informationId) {
        this.informationId = informationId;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }

    public String getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(String vehicleId) {
        this.vehicleId = vehicleId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCarBranch() {
        return carBranch;
    }

    public void setCarBranch(String carBranch) {
        this.carBranch = carBranch;
    }

    public String getCarBranchName() {
        return carBranchName;
    }

    public void setCarBranchName(String carBranchName) {
        this.carBranchName = carBranchName;
    }

    public String getCarSeries() {
        return carSeries;
    }

    public void setCarSeries(String carSeries) {
        this.carSeries = carSeries;
    }

    public String getCarSeriesName() {
        return carSeriesName;
    }

    public void setCarSeriesName(String carSeriesName) {
        this.carSeriesName = carSeriesName;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getEngineNum() {
        return engineNum;
    }

    public void setEngineNum(String engineNum) {
        this.engineNum = engineNum;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.informationId);
        dest.writeString(this.number);
        dest.writeString(this.vehicleId);
        dest.writeString(this.createTime);
        dest.writeString(this.carBranch);
        dest.writeString(this.carBranchName);
        dest.writeString(this.carSeries);
        dest.writeString(this.carSeriesName);
        dest.writeString(this.carModel);
        dest.writeString(this.vin);
        dest.writeString(this.engineNum);
        dest.writeString(this.licenseNumber);
    }

    public void readFromParcel(Parcel source) {
        this.informationId = source.readString();
        this.number = source.readString();
        this.vehicleId = source.readString();
        this.createTime = source.readString();
        this.carBranch = source.readString();
        this.carBranchName = source.readString();
        this.carSeries = source.readString();
        this.carSeriesName = source.readString();
        this.carModel = source.readString();
        this.vin = source.readString();
        this.engineNum = source.readString();
        this.licenseNumber = source.readString();
    }

    public CarInfoVehicleBean() {
    }

    protected CarInfoVehicleBean(Parcel in) {
        this.informationId = in.readString();
        this.number = in.readString();
        this.vehicleId = in.readString();
        this.createTime = in.readString();
        this.carBranch = in.readString();
        this.carBranchName = in.readString();
        this.carSeries = in.readString();
        this.carSeriesName = in.readString();
        this.carModel = in.readString();
        this.vin = in.readString();
        this.engineNum = in.readString();
        this.licenseNumber = in.readString();
    }

    public static final Parcelable.Creator<CarInfoVehicleBean> CREATOR = new Parcelable.Creator<CarInfoVehicleBean>() {
        @Override
        public CarInfoVehicleBean createFromParcel(Parcel source) {
            return new CarInfoVehicleBean(source);
        }

        @Override
        public CarInfoVehicleBean[] newArray(int size) {
            return new CarInfoVehicleBean[size];
        }
    };
}
